<%--
  Created by IntelliJ IDEA.
  User: 30890
  Date: 2023/4/23
  Time: 14:21
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <style>

        table {
            width: 70%;
            max-width: 1300px;
            margin: 20px auto;
            border-collapse: collapse;
            background-color: #fff;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
            overflow: hidden;
        }

        th, td {
            padding: 15px;
            text-align: center;
            border: 1px solid #ddd;
            font-size: 18px;
            color: #333;
        }

        th {
            background-color: #f2f2f2;
        }

        tr:nth-child(even) {
            background-color: #f9f9f9;
        }

        tr:hover {
            background-color: #f1f1f1;
        }

        .button-container {
            text-align: center;
            padding: 20px;
        }

        .button-container button {
            padding: 10px 20px;
            font-size: 16px;
            color: #fff;
            background-color: #4CAF50;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .button-container button:hover {
            background-color: #45a049;
        }
    </style>
    <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
</head>
<body>
<table border="1" cellspacing="0" align="center" class="con-b">
    <tbody>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf" >登录账户</td>
            <td class="lf">${session_person.getUserAccount()}</td>
        </tr>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf">姓名</td>
            <td class="lf">${session_person.getUserName()}</td>
        </tr>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf">性别</td>
            <td class="lf">${session_person.getUserSex()}</td>
        </tr>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf">出生日期</td>
            <td class="lf">${session_person.getUserBirthday()}</td>
        </tr>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf">身份证号码</td>
            <td class="lf">${session_person.getUserIdCard()}</td>
        </tr>
        <tr class="row" style="color: black;font-size: 25px">
            <td class="lf">

                <button onclick="upPassword()">修改密码</button>

            </td>
        </tr>
    </tbody>

</table>
</body>
</html>
<script>
    function upPassword() {
        window.open("common.action?action=upPassword", null,"width=700,height=400,left=400,top=150", true);
    }
</script>